package com.xbh.management.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xbh.management.model.ManUserRole;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * @program: management-center
 * @description:
 * @author: 许宝华
 * @create: 2021-09-25 17:07
 */

public interface UserRoleService extends IService<ManUserRole> {

    int insertUserRoleByIds(String roleIds, Long userId, String createPerson,
                            String updatePerson, Date createTime, Date updateTime,Integer deleted);

    int insertRoleRelationUserByIds(String userIds, Long roleId, String createPerson,
                            String updatePerson, Date createTime, Date updateTime,Integer deleted);



    int deleteUserRoleByIds(Long userId,Long roleId);
}
